#include <iostream>
using namespace std;

class Stack {
public:
  Stack() { cout << "cons" << endl; }
  ~Stack() { cout << "des" << endl; }
};

int main() {
  Stack *ptr = new Stack;
  delete ptr;
}